import Vue from 'vue'

export default {
  /**
   * JWT解析异常
   */
  RES_JWT_PARSE_ERROR: 5001,

  TOKEN_EXPIRED_ERROR_CODE_RES: 5002,

  /**
   * 正常数据
   */
  DATA_NORMAL_STATUS: 0,
  /**
   * 移除数据
   */
  DATA_DELETE_STATUS: -1,

  /**
   * 性别
   */
  MAN_GENDER: 0,
  WOMAN_GENDER: 1,

  FILE_UPLOAD_PATH: 'https://api.zhihuixiaoai.cn/cloud/sys/file/upload',

  FILE_SRC_PATH: 'https://src.zhihuixiaoai.cn/',

  // FILE_SRC_PATH: 'http://192.168.0.46:8081/',

  /**
   * 订单状态
   */
  CREATE_ORDER: 0,
  FINISH_PAY_ORDER: 1,
  CANCEL_PAY_ORDER: 2,
  FINISH_ORDER: 3,
  ING_REFUND_ORDER: 4,
  FINISH_REFUND_ORDER: 5,


  /**
   * 设备发放状态
   */
  NOT_GRANT_DEVICE: 0,
  FINISH_GRANT_DEVICE: 1,

  /**
   * 性别
   */
  GENDER_MAN: 0,
  GENDER_WOMAN: 1,


  /**
   * 店铺营业状态
   */
  SHOP_OPEN_STATUS: 0,
  SHOP_CLOSE_STATUS: -1,

  /**
   * 打印机类型
   */
  FEI_E_PRINT_TYPE: 0,

  /**
   * 违章审核状态
   * */
  VIOLATION_AUDIT_STATUS_LIST: [
    {label: '待审核',value: '0'},
    {label: '审核未通过',value: '1'},
    {label: '审核通过',value: '2'},
  ]

}
